a = map(lambda x: x+2, [1, 2, 3, 4, 5, 6])
b = filter(lambda x: x>3, a)
print(list(b))

c = filter(lambda x: x < 10, map(lambda y: y**2, [1, 2, 3, 4, 5]))
print(tuple(c))